package cd.cdyb.sms.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class Resource {
    /**
     * 菜单id
     */
    @TableId(type = IdType.AUTO)
    private Integer resourceId;

    /**
     * 菜单code
     */
    @TableField(value = "resource_code")
    private String resourceCode;

    /**
     * 菜单名称
     */
    @TableField(value = "resource_name")
    private String resourceName;
}

